<!DOCTYPE>
<html>
<head>
    <meta charset="utf-8">
    <title>Mysql-ES SYNC</title>
    <link rel="stylesheet" href="../layui/css/layui.css">
</head>
<body>
<form class="layui-form" action="">
    <div class="layui-form-item">
        <label class="layui-form-label">数据库</label>
        <div class="layui-input-block">
            <input type="text" name="database" required  lay-verify="required" placeholder="请输入数据库" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">数据表</label>
        <div class="layui-input-block">
            <input type="text" name="table" required  lay-verify="required" placeholder="请输入数据库中的表" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">主键名称</label>
        <div class="layui-input-block">
            <input type="text" name="pk" required  lay-verify="required" placeholder="请输入主键字段" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="formAdd">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
<script src="../layui/layui.js"></script>
<script src="../js/add.js"></script>
</body>
</html>